package org.devocean.groupbuying.service.payment.paypal;

import java.util.Map;

import org.devocean.groupbuying.domain.Cart;
import org.devocean.groupbuying.domain.PaypalPayment;

public interface PayPalService {

	String setExpressCheckout(Cart cart, String action) throws Exception;

	Map doExpressCheckoutPayment(Cart cart, String payerID, String token,
			String action) throws Exception;

	void doCapture(final PaypalPayment paypalPayment) throws Exception;


	boolean doVerify(final PaypalPayment paypalPayment) throws Exception;
}
